<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">志愿服务岗位列表</a></li>
        <li><a href="{:url('AdminOrganize/volunt_post_add')}">添加岗位</a></li>
    </ul>
    <!--<form class="well form-inline margin-top-20" method="post" action="{:url('AdminArticle/index')}">-->
        <!--分类:-->
        <!--<select class="form-control" name="category" style="width: 140px;">-->
            <!--<option value='0'>全部</option>-->

        <!--</select> &nbsp;&nbsp;-->
        <!--时间:-->
        <!--<input type="text" class="form-control js-bootstrap-datetime" name="start_time"-->
               <!--value="{$start_time|default=''}"-->
               <!--style="width: 140px;" autocomplete="off">- -->
        <!--<input type="text" class="form-control js-bootstrap-datetime" name="end_time"-->
               <!--value="{$end_time|default=''}"-->
               <!--style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;-->
        <!--关键字:-->
        <!--<input type="text" class="form-control" name="keyword" style="width: 200px;"-->
               <!--value="{$keyword|default=''}" placeholder="请输入关键字...">-->
        <!--<input type="submit" class="btn btn-primary" value="搜索"/>-->
        <!--<a class="btn btn-danger" href="{:url('AdminArticle/index')}">清空</a>-->
    <!--</form>-->

    <form class="js-ajax-form" action="" method="post">
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="50">ID</th>
                <th>标题</th>
                <!--<th>logo</th>-->
                <!--<th>介绍</th>-->
                <th width="95">操作</th>
            </tr>
            </thead>

            <foreach name="data" item="vo">
                <if condition="$vo.id!=3">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.name}</td>
                    <td> <a class="btn btn-xs btn-primary" href="{:url('AdminOrganize/volunt_post_add',['id'=>$vo.id])}">编辑</a> <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('AdminOrganize/volunt_post_del',['id'=>$vo.id])}">删除</a></td>
                </tr>
                    </if>
            </foreach>


        </table>


    </form>


</div>
<script src="__STATIC__/js/admin.js"></script>
<script>

    function reloadPage(win) {
        win.location.reload();
    }


</script>
</body>
</html>